class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
        "/public/$id"(controller: "treeViewer", action: "show")
        "/private/$id"(controller: "treeViewer", action: "showPrivate")
		"/"(view:"/index")
        name 'getting-started': "/getting-started"(view:"/gettingStarted")
		"500"(view:'/error')
	}
}
